<nb-card>
  <nb-card-header>我的账单</nb-card-header>
  <nb-card-body>
    <ng2-smart-table [settings]="settings" [source]="source">
    </ng2-smart-table>
    <div class="form-inline" style="margin-top:5px">
      <div class="form-group">
        <input class="form-control" type="button" value="上一页" [disabled]="page==1" (click)="goto(page-1)">
        <input class="form-control" style="width: 60px" type="text" [value]="page" #gotoPage>
        <span>{{' /'+maxPage.toString()+' '}}</span>
        <input class="form-control" type="button" value="前往" (click)="goto(gotoPage.value-0)">
        <input class="form-control" type="button" value="下一页" (click)="goto(page+1)">
      </div>
    </div>
  </nb-card-body>
</nb-card>
